﻿using System;
namespace Gift.Model
{
    /// <summary>
    /// tbUser:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tbUser
    {
        public tbUser()
        { }
        #region Model
        private int _id;
        private int _userrank;
        private string _username;
        private string _userpwd;
        private string _email;
        private DateTime _registertime = DateTime.Now;
        private string _registerip;
        private int? _parentuser;
        private DateTime _modifytime = DateTime.Now;
        private DateTime? _lastlogintime;
        private string _lastloginip;
        private int _logincount = 0;
        private decimal _money = 0M;
        private decimal _frozenmoney = 0M;
        private int _paypoints = 0;
        private int _rankpoints = 0;
        private string _question;
        private string _answer;
        private string _nickname;
        private bool _sex;
        private string _telephone;
        private string _fax;
        private string _mobile;
        private string _address;
        private string _qq;
        private string _msn;
        private string _wangwang;
        private bool _state = true;

        private string _rankName;

        public string RankName
        {
            get { return _rankName; }
            set { _rankName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int userRank
        {
            set { _userrank = value; }
            get { return _userrank; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string userName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string userPwd
        {
            set { _userpwd = value; }
            get { return _userpwd; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime registerTime
        {
            set { _registertime = value; }
            get { return _registertime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string registerIP
        {
            set { _registerip = value; }
            get { return _registerip; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? parentUser
        {
            set { _parentuser = value; }
            get { return _parentuser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime modifyTime
        {
            set { _modifytime = value; }
            get { return _modifytime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? lastLoginTime
        {
            set { _lastlogintime = value; }
            get { return _lastlogintime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string lastLoginIP
        {
            set { _lastloginip = value; }
            get { return _lastloginip; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int loginCount
        {
            set { _logincount = value; }
            get { return _logincount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal money
        {
            set { _money = value; }
            get { return _money; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal frozenMoney
        {
            set { _frozenmoney = value; }
            get { return _frozenmoney; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int payPoints
        {
            set { _paypoints = value; }
            get { return _paypoints; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int rankPoints
        {
            set { _rankpoints = value; }
            get { return _rankpoints; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string question
        {
            set { _question = value; }
            get { return _question; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string answer
        {
            set { _answer = value; }
            get { return _answer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string nickName
        {
            set { _nickname = value; }
            get { return _nickname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string telephone
        {
            set { _telephone = value; }
            get { return _telephone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string fax
        {
            set { _fax = value; }
            get { return _fax; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string qq
        {
            set { _qq = value; }
            get { return _qq; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string msn
        {
            set { _msn = value; }
            get { return _msn; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string wangwang
        {
            set { _wangwang = value; }
            get { return _wangwang; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool state
        {
            set { _state = value; }
            get { return _state; }
        }
     
        #endregion Model

    }
}

